home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / Guitar / DcblockUG.README < prev    next >
Encoding:
Text File  |  1992-07-28  |  1001 b   |  25 lines

  1. /*  Copyright (c) 1992 - Rick A. Vander Kam - All rights reserved */
  2. Description of the Dcblock Unit Generator.
  3.  
  4. This unit generator implements a one-pole, one-zero filter section in direct form.  It is useful for many applications besides its use as a fixed dc-blocking filter in the guitar synthesizer.  The output of the filter is given as bb0*(input) + bb1*(once-delayed input) + aa1*(once-delayed output).
  5.  
  6. METHODS
  7. =========
  8.  
  9. - setOutput:aPatchPoint
  10.      Used to connect the unit generator's output to aPatchPoint
  11.  
  12. -setInput:aPatchPoint
  13.      Used to connect the unit generator's input to aPatchPoint
  14.  
  15. - setAa1:aDouble
  16.      Used to set the aa1 coefficient to aDouble  (-1.0 to 0.999999)
  17.  
  18. - setBb0:aDouble
  19.      Used to set the bb0 coefficient to aDouble  (-1.0 to 0.999999)
  20.  
  21. - setBb1:aDouble
  22.      Used to set the bb1 coefficient to aDouble  (-1.0 to 0.999999)
  23.  
  24. - clear
  25.      Used to clear the filter state.  Forces the stored values for the once-delayed input and the once-delayed output to be zero.